package com.hmall.search.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hmall.feign.dto.PageDTO;
import com.hmall.feign.pojo.Item;
import com.hmall.feign.pojo.ItemDoc;
import com.hmall.search.pojo.RequestParams;

import java.util.List;
import java.util.Map;

public interface ISearchService extends IService<Item> {

    PageDTO<ItemDoc> search(RequestParams params);

    void createIndex(String itemId);

    void removeIndex(String itemId);
}
